<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<script type="text/javascript">
		$(document).ready(function() {
			$('#formAprovaCh\\:dtPrev_input').mask('99/99/99');
		});
	</script>
</h:head>
<h:body>
	<p:growl id="messages2" showDetail="true" showSummary="true" life="3000" />
	<h:form id="formAprovaCh">
		<div style="left: 50%; margin-left: -115px; position: relative; width: 250px;" >
			<h:panelGrid>
				<h:outputLabel value="#{message.label_responsavel}"
					styleClass="LabelFont" />
				<p:selectOneMenu value="#{gerenciaChamadoTela.responsavel}" id="comboResp"
					effect="fade" style="font-size: 13px;">
					<f:selectItem itemLabel="" itemValue="0" />
					<f:selectItems value="#{gerenciaChamadoTela.responsaveis}"
						var="resp" itemLabel="#{resp.nome}" itemValue="#{resp.codigo}"
						style="font-size: 13px;" />
					<p:ajax />
				</p:selectOneMenu>
				<br />
				<h:outputLabel value="#{message.label_dt_previsao}"
					styleClass="LabelFont" />
				<p:calendar id="dtPrev" size="5" locale="pt" pattern="dd/MM/yy"
					value="#{gerenciaChamadoTela.chamado.dataPrevisao}" showOn="button"
					style="font-size: 13px;" />
			</h:panelGrid>
		</div>
		<div
			style="left: 50%; width: 300px; margin-left: -170px; position: relative; margin-top: 50px;">
			<p:commandButton value="#{message.botao_concluir}"
				icon="ui-icon-disk" action="#{gerenciaChamadoTela.aprovaChamado}"
				style="margin-right: 10px; margin-left: 65px; font-size: 14px;"
				update=":messages2,:formChNApro:idTChNAp,formAprovaCh"/>
			<p:commandButton value="#{message.botao_cancelar}" immediate="true"
				icon="ui-icon-close" style="font-size: 14px;" onclick="dlg14.hide()" />
		</div>
	</h:form>
</h:body>
</html>